// 用户端接口
import request from '@/common/requst.js' //引进requst方法
// 找设计-风格
export const designerStyle = (data) => {
	return request({
		url: '/system/sysCategory/public/listNoPage',
		method: 'post',
		data
	})
}
// 找设计是否公开项目笔记
export const overt = (data) => {
	return request({
		url: '/designer/designerProjectNote/update',
		method: 'post',
		data
	})
}
// 找设计列表接口
export const devise = (data) => {
	return request({
		url: '/user/tabBar/public/designList',
		method: 'post',
		data
	})
}
// 找设计列表详情-未登录
export const deviseDetail = (data) => {
	return request({
		url: '/user/tabBar/public/designerInfo',
		method: 'post',
		data
	})
}
// 找设计列表详情-登录
export const entryDeviseDetail = (data) => {
	return request({
		url: '/universal/designerInfo',
		method: 'post',
		data
	})
}

// 找板材-材质风格
export const plteList = (data) => {
	return request({
		url: '/system/sysTexture/public/list',
		method: 'post',
		data
	})
}
// 找板材-列表
export const gcGoods = (data) => {
	return request({
		url: '/user/tabBar/public/goodsList',
		method: 'post',
		data
	})
}

// 找板材-列表详情-未登录
export const unGoodsDetails = (data) => {
	return request({
		url: '/user/tabBar/public/goodsDetails',
		method: 'post',
		data
	})
}
// 找板材-列表详情-登录
export const goodsDetails = (data) => {
	return request({
		url: '/universal/goodsDetailsAuto',
		method: 'post',
		data
	})
}

// 找安装-列表详情-未登录
export const unInstallationDetails = (data) => {
	return request({
		url: '/user/tabBar/public/installerInfo',
		method: 'post',
		data
	})
}
// 找安装-列表详情-登录
export const installationDetails = (data) => {
	return request({
		url: '/universal/installerInfo',
		method: 'post',
		data
	})
}
// 消息中心-收藏列表
export const userCollect = (data) => {
	return request({
		url: '/universal/collectList',
		method: 'post',
		data
	})
}
// 添加收藏
export const addCollect = (data) => {
	return request({
		url: '/universal/collectAdd',
		method: 'post',
		data
	})
}
// 取消收藏
export const unCollect = (data) => {
	return request({
		url: '/universal/collectDelete',
		method: 'post',
		data
	})
}

// 添加关注
export const addConcern = (data) => {
	return request({
		url: '/universal/likeUser',
		method: 'post',
		data
	})
}
// 取消关注
export const unConcern = (data) => {
	return request({
		url: '/universal/deleteUser',
		method: 'post',
		data
	})
}
// 消息中心-关注列表
export const concernList = (data) => {
	return request({
		url: '/universal/likeList',
		method: 'post',
		data
	})
}
// 消息中心-粉丝列表
export const fansList = (data) => {
	return request({
		url: '/universal/fansList',
		method: 'post',
		data
	})
}

// 好物评论列表
export const publicList = (data) => {
	return request({
		url: '/universal/public/commentList',
		method: 'post',
		data
	})
}


// 查看更多回复
export const moreReply = (data) => {
	return request({
		url: '/universal/public/moreReply',
		method: 'post',
		data
	})
}

// 添加评论
export const addComment = (data) => {
	return request({
		url: '/universal/addComment',
		method: 'post',
		data
	})
}
// 删除评论
export const deleteComment = (data) => {
	return request({
		url: '/universal/removeComment',
		method: 'post',
		data
	})
}
//设计作品列表接口
export const articleIist = (data) => {
	return request({
		url: '/designer/designerInfo/article/list',
		method: 'post',
		data
	})
}
//邀请安装项目详情确定接口
export const inviteInstall = (data) => {
	return request({
		url: '/install/installInfo/inviteInstall',
		method: 'post',
		data
	})
}
// 个人地址列表
export const AddressList = (data) => {
	return request({
		url: '/user/userAddr/list',
		method: 'post',
		data
	})
}

// 添加个人地址
export const addAddress = (data) => {
	return request({
		url: '/user/userAddr/add',
		method: 'post',
		data
	})
}
// 修改个人地址
export const editAddress = (data) => {
	return request({
		url: '/user/userAddr/update',
		method: 'post',
		data
	})
}
// 删除个人地址
export const deleteAddress = (data) => {
	return request({
		url: '/user/userAddr/delete',
		method: 'post',
		data
	})
}
// 我的-营收
export const revenueMe = (data) => {
	return request({
		url: '/universal/revenue/list',
		method: 'post',
		data
	})
}
// 修改个人信息
export const deitInformation = (data) => {
	return request({
		url: '/universal/userUpdate',
		method: 'post',
		data
	})
}
// 动态列表
export const dynamicList = (data) => {
	return request({
		url: '/user/userDynamic/list',
		method: 'post',
		data
	})
}
// 发布动态
export const publishDynamic = (data) => {
	return request({
		url: '/universal/dynamic/add',
		method: 'post',
		data
	})
}
// 动态列表
export const dynamic = (data) => {
	return request({
		url: '/universal/list',
		method: 'post',
		data
	})
}
// 修改动态
export const updateDynamic = (data) => {
	return request({
		url: '/user/userDynamic/update',
		method: 'post',
		data
	})
}
// 删除动态
export const deleteDynamic = (data) => {
	return request({
		url: '/user/userDynamic/delete',
		method: 'post',
		data
	})
}
// 发送验证码
export const sendCode = (data) => {
	return request({
		url: '/sms/public/sendCode',
		method: 'post',
		data
	})
}
// 修改密码
export const editPassword = (data) => {
	return request({
		url: '/factory/gcInfo/updatePassword',
		method: 'post',
		data
	})
}
// 寻找一对一服务设计师
export const seekArchitect = (data) => {
	return request({
		url: '/user/userInfo/designer',
		method: 'post',
		data
	})
}
// 确定
export const designerDetermine = (data) => {
	return request({
		url: '/universal/message/designerList',
		method: 'post',
		data
	})
}

// 设计师接单
export const takeOrders = (data) => {
	return request({
		url: '/designer/designerOrderReceiving/orderReceiving',
		method: 'post',
		data
	})
}
// 安装师傅首页
export const fixIndex = (data) => {
	return request({
		url: '/installer/installerInvite/installer/list',
		method: 'post',
		data
	})
}
// 工厂公告
export const Announce = (data) => {
	return request({
		url: '/universal/affICheList',
		method: 'post',
		data
	})
}
// 发布项目笔记
export const addProjectNotes = (data) => {
	return request({
		url: '/designer/designerProjectNote/add',
		method: 'post',
		data
	})
}
// 银行卡列表
// export const revenueMe = (data) => {
// 	return request({
// 		url: '/universal/revenue/list',
// 		method: 'post',
// 		data
// 	})
// }